package org.timeismoney.payment.service;

import java.util.List;

import org.timeismoney.payment.model.ItemPaymentDetail;
import org.timeismoney.payment.model.ItemStuDetail;
import org.timeismoney.payment.model.Unit;

public interface ItemStuDetailService extends BaseService<ItemStuDetail, Integer>{

	public List<ItemPaymentDetail> findItemPaymentByStu(String stuNo,int schoolYearNo);

	public void deleteByStuNo(String stuNo);

	public void deleteAllBySchoolYearNo(Integer schoolYearNo);

	public void deleteAllByItemNo(Integer itemNo);

	List<ItemStuDetail> findDetailByYearAndStu(String stuNo, int schoolYearNo);

	void findIsExistingPaymentRecordByOverwritedItem(int schoolYearNo,
			Unit unit, ItemPaymentDetail detail);
	
}
